package sunbao.ido.stereotype;

import org.springframework.context.annotation.Import;
import sunbao.ido.factory.IDoFactoryBean;
import sunbao.ido.support.IDoScannerRegistrar;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * \* User: MeiZhongHao
 * \* Date: 2018-10-23
 * \* Time: 11:40
 * \* Description:
 * \
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Import(IDoScannerRegistrar.class)
public @interface IDoScan {

    String[] basePackage() default {};

    Class<? extends IDoFactoryBean> factoryBean() default IDoFactoryBean.class;

}
